{layout name="common/layout" /}
<div class="swiper-container index-focus">
    <!-- S 焦点图 -->
    <div id="index-focus" class="carousel slide carousel-focus" data-ride="carousel">

        <div class="carousel-inner" role="listbox">
            {cms:blocklist id="block" name="indexfocus" row="5"}
            <div class="item {if $i==1}active{/if}">
                <a href="{$block.url}">
                    <div class="carousel-img" style="background-image:url('{$block.image}');"></div>

                </a>
            </div>
            {/cms:blocklist}
        </div>
        <a class="left carousel-control" href="#index-focus" role="button" data-slide="prev">
            <span class="icon-prev fa fa-chevron-left" aria-hidden="true"></span>
            <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#index-focus" role="button" data-slide="next">
            <span class="icon-next fa fa-chevron-right" aria-hidden="true"></span>
            <span class="sr-only">Next</span>
        </a>
    </div>
    <!-- E 焦点图 -->
</div>
<div class="container" id="content-container">

    <!--<div style="margin-bottom:20px;">-->
    <!--{cms:block name="bannerad"/}-->
    <!--</div>-->
    <div class="row">
        <main class="col-xs-12 col-md-12">
            <div class="panel panel-default index-gallary">
                <div class="panel-heading zhxw">
                    <h3 class="panel-title ">
                        <span>综合新闻</span>
                        <div class="more" style="top: 23px;">
                            <a href="{:addon_url('cms/channel/index', [':id'=>42, ':diyname'=>'zhxw'])}">查看更多</a>
                        </div>
                    </h3>
                </div>
                <div class="row">
                    <div class="col-xs-12 col-md-6"  style="padding:0">
                        <div class="panel-body">
                            <div class="swiper-container index-focus">
                                <!-- S 焦点图 -->
                                <div id="zh-focus" class="carousel slide carousel-focus" data-ride="carousel">
<!--                                    <ol class="carousel-indicators">-->
<!--                                        {cms:arclist id="zhnews"  row="5" channel="42" }-->
<!--                                        <li data-target="#index-focus" data-slide-to="{:$i-1}"-->
<!--                                            class="{if $i==1}active{/if}"></li>-->
<!--                                        {/cms:arclist}-->
<!--                                    </ol>-->
                                    <div class="carousel-inner" role="listbox">
                                        {cms:arclist id="zhnews" row="5" channel="42" condition="''<>image"}
                                        <div class="item {if $i==1}active{/if}">
                                            <a href="{$zhnews.url}">
                                                <div class="carousel-img"
                                                     style="background-image:url('{$zhnews.image}');"></div>
                                                <div class="carousel-caption hidden-xs">
                                                    <h3>{$zhnews.title|htmlentities}</h3>
                                                </div>
                                            </a>
                                        </div>
                                        {/cms:arclist}
                                    </div>
                                    <a class="left carousel-control" href="#zh-focus" role="button" data-slide="prev">
                                        <span class="icon-prev fa fa-chevron-left" aria-hidden="true"></span>
                                        <span class="sr-only">Previous</span>
                                    </a>
                                    <a class="right carousel-control" href="#zh-focus" role="button" data-slide="next">
                                        <span class="icon-next fa fa-chevron-right" aria-hidden="true"></span>
                                        <span class="sr-only">Next</span>
                                    </a>
                                </div>
                                <!-- E 焦点图 -->
                            </div>
                        </div>

                    </div>
                    <div class="col-xs-12 col-md-6" style="padding:0">
                        <div class="panel-body">
                            <ul class="list-unstyled zhnew-list">
                                {cms:arclist id="zhnews"  row="5" channel="42"}
                                <li>
                                    <a class="link-dark" href="{$zhnews.url}" title="{$zhnews.title|htmlentities}">{$zhnews.title|htmlentities}</a><span>{:date("Y-m-d", $zhnews['createtime'])}</span>
                                </li>
                                {/cms:arclist}
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>
    <div class="row">
        <div class="col-xs-12 col-md-7">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <span class="bef">通知公告</span>
                        <div class="more" >
                            <a href="{:addon_url('cms/channel/index', [':id'=>41, ':diyname'=>'tzgg'])}">查看更多</a>
                        </div>
                    </h3>
                </div>
                <div class="panel-body p-0">
                    <div class="article-list news-zcfg-list">
                        <ul>
                        {cms:arclist id="zhnews"  row="5" channel="41"}
                        <li>
                            <a class="link-dark" href="{$zhnews.url}" title="{$zhnews.title|htmlentities}">
                                <span>{:date("m-d", $zhnews['createtime'])}</span>
                                <p>{$zhnews.title|htmlentities}</p>
                            </a>
                        </li>
                        {/cms:arclist}
                        </ul>
                    </div>

                </div>
            </div>
        </div>
        <div class="col-xs-12 col-md-5">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <span class="bef">合作交流</span>

                        <div class="more">
                            <a href="{:addon_url('cms/channel/index', [':id'=>2, ':diyname'=>'hzjl'])}">查看更多</a>
                        </div>
                    </h3>
                </div>
                <div class="panel-body p-0">
                    <div class="article-list newsbox-tblist">
                        <ul>
                            {cms:arclist id="zhnews"  row="5" channel="58,59"}
                            <li><a href="{$zhnews.url}" title="{$zhnews.title|htmlentities}">{$zhnews.title|htmlentities}</a><span>{:date("Y-m-d", $zhnews['createtime'])}</span></li>
                            {/cms:arclist}
                        </ul>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <main class="col-xs-12 col-md-8">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <span class="bef">科学研究</span>
                        <div class="more">
                            <a href="{:addon_url('cms/channel/index', [':id'=>28, ':diyname'=>'kxyj'])}">查看更多</a>
                        </div>
                    </h3>
                </div>
                <div class="panel-body p-0">
                    <div class="article-list kxyj">
                        <div class="hd">
                            <ul>
                                {cms:channellist id="item" type="son"  limit="6" typeid="28"}
                                <li class=""><a href="{$item.url}">{$item.name|htmlentities}</a></li>
                                {/cms:channellist}
                            </ul>
                        </div>
                        <div class="bd">
                            {cms:channellist id="item" type="son"  limit="6" typeid="28"}
                            <ul>
                                <div class="news-ky">
                                    {cms:arclist id="kxnew"  row="1" channel="item.id" limit="1" condition="''<>image"}
                                    <div class="newsky-first am-cf">
                                        <a href="{$kxnew.url}">
                                            <div class="thumb"><img src="{$kxnew.image}"></div>
                                            <div class="txt">
                                                <p class="tit">{$kxnew.title|htmlentities}</p>
                                                <p class="note">{$kxnew.description|htmlentities}</p>
                                            </div>
                                        </a>
                                    </div>
                                    {/cms:arclist}

                                    <div class="newsky-list">
                                        <ul class="am-avg-md-2">
                                            {cms:arclist id="kxnewl"  row="6" channel="item.id" }
                                            <li><div class="item"><a href="{$kxnewl.url}" title="{$kxnewl.title}">{$kxnewl.title|htmlentities}</a><span>{:date("Y-m-d", $kxnewl['createtime'])}</span></div></li>
                                            {/cms:arclist}
                                        </ul>
                                    </div>
                                </div>
                            </ul>
                            {/cms:channellist}
                        </div>
                    </div>
                    <script>
                        $(".kxyj").slide({});
                    </script>
                </div>

            </div>
        </main>
        <aside class="col-xs-12 col-md-4">
            <div class="panel panel-default lasest-update">
                <!-- S 最近更新 -->
                <div class="panel-heading">
                    <h3 class="panel-title">资源服务</h3>
                </div>
                <div class="panel-body">
                    <div class="glrklist">
                        {cms:channellist id="item" type="son"  limit="6" typeid="30"}
                        <a href="{$item.url}">{$item.name}</a>
                        {/cms:channellist}
                    </div>
                </div>
                <!-- E 最近更新 -->
            </div>
        </aside>
    </div>
    <div class="row">
        <div class="col-xs-12 col-md-4">
            <h3 class="hm-news2-tit">桉树普及</h3>
            <div class="panel panel-default lasest-update">
                <div class="panel-body">
                    <div class="newsbox-list">
                        {cms:arclist id="kxnewl"  row="6" channel="60,61,62,63,64" }
                        <li><div class="item"><a href="{$kxnewl.url}" title="{$kxnewl.title}">{$kxnewl.title|htmlentities}</a><span>{:date("Y-m-d", $kxnewl['createtime'])}</span></div></li>
                        {/cms:arclist}
                    </div>
                </div>

            </div>
        </div>
        <div class="col-xs-12 col-md-4">
            <h3 class=" hm-news2-tit">科研动态</h3>
            <div class="panel panel-default lasest-update">
                <div class="panel-body">
                    <div class="newsbox-list">
                        {cms:arclist id="kxnewl"  row="6" channel="47" }
                        <li><div class="item"><a href="{$kxnewl.url}" title="{$kxnewl.title}">{$kxnewl.title|htmlentities}</a><span>{:date("Y-m-d", $kxnewl['createtime'])}</span></div></li>
                        {/cms:arclist}
                    </div>
                </div>

            </div>
        </div>
        <div class="col-xs-12 col-md-4">
            <h3 class="hm-news2-tit">人才队伍</h3>
            <div class="panel panel-default lasest-update">
                <div class="panel-body">
                    <div class="newsbox-list">
                        {cms:arclist id="kxnewl"  row="6" channel="56,57" }
                        <li><div class="item"><a href="{$kxnewl.url}" title="{$kxnewl.title}">{$kxnewl.title|htmlentities}</a><span>{:date("Y-m-d", $kxnewl['createtime'])}</span></div></li>
                        {/cms:arclist}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--<div class="container hidden-xs">-->
<!--    <div class="panel panel-default">-->
<!--        &lt;!&ndash; S 热门导航 &ndash;&gt;-->
<!--        <div class="panel-heading">-->
<!--            <h3 class="panel-title">-->
<!--                热门导航-->
<!--                <small>为你推荐以下热门网站</small>-->
<!--                <a href="{:addon_url('cms/diyform/post',[':diyname'=>'navigation'])}" class="more">申请导航</a>-->
<!--            </h3>-->
<!--        </div>-->
<!--        <div class="panel-body">-->
<!--            <ul class="list-unstyled list-partner">-->
<!--                {cms:diydatalist diyform="3" id="item" row="20"}-->
<!--                <li><a href="{$item.website}" target="_blank"><img src="{$item.image|cdnurl}"></a></li>-->
<!--                {/cms:diydatalist}-->
<!--            </ul>-->
<!--        </div>-->
<!--        &lt;!&ndash; E 热门导航 &ndash;&gt;-->

<!--        &lt;!&ndash; S 友情链接 &ndash;&gt;-->
<!--        <div class="panel-heading">-->
<!--            <h3 class="panel-title">友情链接-->
<!--                <small>申请友情链接请务必先做好本站链接</small>-->
<!--                <a href="{:addon_url('cms/diyform/post',[':diyname'=>'friendlink'])}" class="more">申请友链</a></h3>-->
<!--        </div>-->
<!--        <div class="panel-body">-->
<!--            <div class="list-unstyled list-links">-->
<!--                {cms:diydatalist diyform="2" id="item" row="20"}-->
<!--                <a href="{$item.website}" target="_blank"-->
<!--                   title="{$item.title|htmlentities}">{$item.title|htmlentities}</a>-->
<!--                {/cms:diydatalist}-->
<!--            </div>-->
<!--        </div>-->
<!--        &lt;!&ndash; E 友情链接 &ndash;&gt;-->
<!--    </div>-->

<!--</div>-->
